<ul id="commentList" class="lmessageList darenList"> </ul>
<script id="commentList_tpl" type="text/html">
    <% each data.commentList as arr i %>
    <li class="darenList-item clearfix">
        <div class="head-img-box">
            <a target="_blank" <%if arr.memberId%> href="/<%arr.memberId%>/userInfo.html" <%/if%>>
                <img class="fleft head-img" src="<%=imgPath(arr.header)%>" />
            </a>
        </div>
        <div class="fleft content-wrap">
            <h5 class="font15 clo3">
                <a target="_blank" <%if arr.memberId%>href="/<%arr.memberId%>/userInfo.html" <%/if%>>
                    <% arr.nickName %>
                    <% if arr.memberType==='V' %>
                    <img src="../../public/images/daren1.jpg" class="iconLV1" />
                    <% else if arr.memberType==='D' %>
                    <img src="../../public/images/daren2.jpg" class="iconLV" />
                    <%/if%>
                    <span class="clo9 ml10 font12">等级 <%arr.memberType%><%=toFloat(arr.gradeValue/100, 0)%></span>
                </a>
                <% if arr.memberId && (data.userId!=arr.memberId) %>
                <button class="btnStyleS ml10 <%if arr.followIs&&arr.followIs!=undefined%> hide <%/if%>" data-memberid="<%arr.memberId%>"
                        onclick="BASE.COMMON.noticeToMember(this)"> + 关注 </button>
                <button class="btnStyleC ml10 <%if !arr.followIs||arr.followIs==undefined%> hide <%/if%>" data-memberid="<%arr.memberId%>"
                        onclick="BASE.COMMON.cancelNotice(this)">已关注</button>
                <%/if%>
                <span class="font24 orange fright mt5"><%=toFloat(arr.score, 1)%></span>
            </h5>
            <div class="clo9 font12"><%=dateFormat(arr.createDateTime, 'yyyy-MM-dd')%></div>
            <p class="mt20 clo3"> <% arr.content %></p>
        </div>
    </li>

    <%/each%>
</script>